package structuralPatterns.adapter;

//
public class InstanceAdapter implements Target {

    Adaptee adaptee ;

    public InstanceAdapter(Adaptee adaptee){
        this.adaptee = adaptee;
    }

    @Override
    public void request(){
        System.out.println("对象适配器执行操作");
        adaptee.specificRequest();
    }
}
